#import <UIKit/UIKit.h>


@interface Mail : NSObject {
//Retrieve from readViewEntries
	NSString *_sender;
	NSDate *_date;
	NSString *_size;
	NSString *_subject;
	NSString *_UNID;		
	Boolean _hasAttachment;

//Retrieve from MailContent by UNID
	NSString *_fullSender;
	NSString *_receiver;
	NSString *_content;
	NSString* _attachmentName;
//Local Attributes
	Boolean _hasRead;//This symbol has not yet synchronized with the server----TBA
	Boolean _hasContentDownloaded;

}

@property (nonatomic, retain) NSString *sender;
@property (nonatomic, retain) NSDate *date;
@property (nonatomic, retain) NSString *size;
@property (nonatomic, retain) NSString *subject;
@property (nonatomic, retain) NSString *content;
@property (nonatomic, retain) NSString *fullSender;
@property (nonatomic, retain) NSString *receiver;
@property (nonatomic, retain) NSString *UNID;
@property (nonatomic, retain) NSString *attachmentName;
@property Boolean hasAttachment;

- (Boolean) hasRead;
- (void) markRead;
- (Boolean) hasContentDownloaded;
- (void) markDownload;
- (NSString *)attributes;
- (id)initWithAttributes:(NSString *)Attributes;


@end
